package com.springboot.blog.service;

import com.springboot.blog.beans.AdminUser;
import com.springboot.blog.beans.Blog;
import com.springboot.blog.beans.PageBlog;
import com.springboot.blog.beans.User;

public interface UserService {
    public void checkUserLogin(String username,String password,Boolean rememberMe);

    public User findUserAndPhone(String username,String phone);

    public Boolean updateUser(String username,String password,String pwdsalt);

    //分页
    PageBlog<User> page(Integer pageNo, Integer pageSize);
}
